@import '../../var.scss';
.topic-topic {
  &-avatar {
    position: relative;
    width: 210rpx;
    height: 210rpx;
    background-color: $decor-color;
    border-radius: 16rpx 16rpx 0 0;
    .logs {
      position: absolute;
      top: 15rpx;
      left: 15rpx;
      height: 34rpx;
      padding: 0rpx 17rpx;
      color: #fff;
      font-size: 20rpx;
      line-height: 34rpx;
      background-color: rgba(0, 0, 0, 0.5);
      border-radius: 17rpx;
    }
    .status {
      position: absolute;
      bottom: 15rpx;
      left: 15rpx;
      color: #fff;
      font-size: 24rpx;
      line-height: 34rpx;
      text-shadow: #999999;
    }
    & .cover {
      position: absolute;
      right: 17rpx;
      bottom: 19rpx;
      z-index: 1;
      width: 30rpx;
      height: 42rpx;
      &.text {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22rpx;
        background-color: $primary;
        border: 2rpx solid $bgcolor-light;
        border-radius: 100rpx;
      }
    }

    & .avatar {
      width: 100%;
      height: 100%;
      border-radius: 16rpx 16rpx 0 0;
    }
  }

  &-info {
    padding: 24rpx 18rpx;

    .topic-name {
      display: -webkit-box;
      overflow: hidden;
      font-weight: 700;
      font-size: 24rpx;
      height: 27rpx;
      line-height: 27rpx;
      white-space: normal !important;
      text-overflow: ellipsis;
      word-wrap: break-word;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
    }

    .topic-desc {
      text {
        display: -webkit-box;
        height: 44rpx;
        margin-top: 22rpx;
        overflow: hidden;
        color: #999999;
        font-size: 18rpx;
        line-height: 22rpx;
        white-space: normal !important;
        text-overflow: ellipsis;
        word-wrap: break-word;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
      }
    }
    .topic-btn {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      width: 170rpx;
      height: 60rpx;
      margin-top: 20rpx;
      color: $primary-color;
      font-weight: 600;
      font-size: 22rpx;
      border: 2rpx solid $primary-color;
      border-radius: 8rpx;
    }
    .followed {
      color: $decor-color;
      border-color: $decor-color;
    }
    .audit {
      color: #ffffff;
      background-color: $primary;
      border: none;
    }
    .paied {
      align-items: unset;
      padding: 8rpx 0;
      font-weight: 500;
      .text {
        width: 100%;
        height: 20rpx;
        font-size: 18rpx;
        text-align: center;
      }
    }
  }
}
.covers {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  .confirm {
    z-index: 900;
    width: 400rpx;
    height: 542rpx;
    overflow: hidden;
    background-color: #fff;
    border-radius: 10rpx;
    box-shadow: 0rpx 0rpx 50rpx 7rpx rgba(3, 3, 3, 0.15);
    .imgBox {
      width: 258rpx;
      height: 188rpx;
      margin: 40rpx auto 24rpx;
      image {
        width: 100%;
        height: 100%;
      }
    }
    .payTitle {
      width: 100%;
      margin-bottom: 30rpx;
      color: $success-color;
      font-size: 33rpx;
      text-align: center;
    }
    .failure {
      color: rgba(179, 179, 179, 1);
    }
    .showBottom {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 259rpx;
      height: 56rpx;
      margin: auto;
      margin-top: 26rpx;
      color: rgba(26, 26, 26, 1);
      font-size: 26rpx;
      background: rgba(255, 255, 255, 1);
      border: 1rpx solid rgba(230, 230, 230, 1);
      border-radius: 28rpx;
    }
  }
}
.noTopic {
  width: 100%;
  margin-top: 100rpx;
  text-align: center;
}
